Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule to check for unused arguments in methods #127

Merged
merged 6 commits into from
Nov 8, 2015
Merged

Conversation

justinmclean
Copy link
Contributor

Can you check the changes toCFLint.java, all of the tests pass.

@ryaneberly
Copy link
Contributor

Looks good.

Except I don't see the need for
bugs = new BugList(null);

what is the purpose of that?

@justinmclean
Copy link
Contributor Author

Was just following what the existing code did if there was an exception in CFLint. I assumed it was so there's no bug output.

@ryaneberly
Copy link
Contributor

I think if there is an exception in the plugin, we shouldn't wipe any other messages that are already reported.

Conflicts:
	src/main/resources/cflint.definition.json
	src/main/resources/cflint.definition.xml
justinmclean added a commit that referenced this pull request Nov 8, 2015
Rule to check for unused arguments in methods
@justinmclean justinmclean merged commit a840c84 into dev Nov 8, 2015
@justinmclean justinmclean deleted the unusedArguments branch November 8, 2015 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants